package com.atguigu.common.exception;

public enum BizCodeEnum {
    VAILD_EXCEPTION(10001,"参数格式校验失败"),
    UNKONW_EXCEPTION(10000,"系统未知异常");

    public Integer code;
    public String msg;
    BizCodeEnum(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
